﻿(function (DQSelf) {
    // 重写调用验证码方法
    if (typeof interfaceForStu == 'function') {
		function playVoice(){
			var obj = document.getElementById('DQMP3');
            obj.play();
		}
        function doThisAfterTip(num) {
            if (num == 2) {
                playVoice();
            }
        }
        var previous = interfaceForStu;
        interfaceForStu = function (num) {
            previous(num);
            doThisAfterTip(num);
        }
		var verification = confirmIns;
        confirmIns = function (mg,ty) {
            verification(mg,ty);
            playVoice();
        }
		
    }
})(window || {});